package common;

import java.net.URI;

import client.Client;

public class ClientRef {

	public Client client;
	public URI uri;

	public ClientRef() {
		super();
	}

	public ClientRef(URI uri, Client client) {
		super();
		this.uri = uri;
		this.client = client;
	}

	@Override
	public boolean equals(Object other) {
		if (other instanceof ClientRef) {
			ClientRef otherClientRef = (ClientRef) other;
			if (this.uri.equals(otherClientRef.uri))
				return true;
			else
				return false;
		} else {
			return super.equals(other);
		}
	}
}
